package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hzeport.bgs22emduty.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EMDU_DUTY_SIGN_INFO")
@ApiModel(value = "人员签到表")
public class DutySignInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "人员排班ID，关联人员排班情况表DUTY_SCHEDULE_INFO主键ID")
    @TableField(value = "DUTY_ID")
    @JsonProperty(value = "dId")
    private String dId;

    @ApiModelProperty(value = "签到状态：1. 已签到；0.未签到")
    @TableField(value = "DUTY_SIGNIN_STATUS")
    @JsonProperty(value = "dSigninType")
    private String dSigninType;

    @ApiModelProperty(value = "人员签到时间")
    @TableField(value = "DUTY_SIGNIN_TIME")
    @JsonProperty(value = "dSigninTime")
    private LocalDateTime dSigninTime;

    @ApiModelProperty(value = "签退状态：1. 已签退；0.未签退")
    @TableField(value = "DUTY_SIGNOUT_STATUS")
    @JsonProperty(value = "dSignoutType")
    private String dSignoutType;

    @ApiModelProperty(value = "人员签退时间")
    @TableField(value = "DUTY_SIGNOUT_TIME")
    @JsonProperty(value = "dSignoutTime")
    private LocalDateTime dSignoutTime;

    @ApiModelProperty(value = "接口调用结果：0. 失败；1. 成功")
    @TableField(value = "IS_HR_SEND")
    @JsonProperty(value = "isHrSend")
    private String isHrSend;


}
